package thread;

public class SaleTicke {
    public static void main(String[] args) {
        String  a="abc";
        String b="abc";
        String c=new String("abc");
        System.out.println("相同赋值比较-----");
        System.out.println(a==b);
        System.out.println("new之后比较");
        System.out.println(c==a);

    }
}
